package com.ming_za.odupdaterserver.core.utils.obj;

import lombok.Data;

@Data
public class ReturnPackage<E,D>{

    private boolean success;

    private E code;

    private D data;

    public ReturnPackage(boolean success, E code, D data) {
        this.success = success;
        this.code = code;
        this.data = data;
    }
}
